package com.ourteam.system.dao;


import org.apache.commons.lang.enums.Enum;



import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

/**
*  SysResourceStatusEnum
*  GenDate Thu Sep 21 15:10:29 IRKT 2017  
*  @model
*  @author Auto Generate	
*/
public class SysResourceStatusEnum extends  Enum  {

        private String desc;

        
        protected SysResourceStatusEnum (String arg0,String aDesc) {
		super(arg0);
		desc = aDesc;
		enumValueMap.put(arg0,this);
	}
        
	public String getDesc() {
		return desc;
	}

         
          private static Map<String,SysResourceStatusEnum> enumValueMap = new HashMap<String,SysResourceStatusEnum>();
                 

        	
	public static SysResourceStatusEnum getEnum(String arg0){
		return (SysResourceStatusEnum)enumValueMap.get(arg0);
	}
        	
	public static Collection<SysResourceStatusEnum> getEnumList() {
		return enumValueMap.values();
	}

        	
	/**
	 * 使用中
	 * @model name="IN_USE"
	 */
         
         public static final SysResourceStatusEnum IN_USE = new SysResourceStatusEnum ("IN_USE","使用中");
         
		
	/**
	 * 不使用
	 * @model name="NOT_USE"
	 */
         
         public static final SysResourceStatusEnum NOT_USE = new SysResourceStatusEnum ("NOT_USE","不使用");
         
	
}